package com.yzzrjy.Dao.Impl;

import com.yzzrjy.Dao.Interfaces.MemoryDao;
import com.yzzrjy.util.JedisConnectionFactory;
import redis.clients.jedis.Jedis;

import java.util.List;

public class MemoryDaoRedis implements MemoryDao {
    @Override
    public List<String> getOnlineUsers(String sex, int start, int showPageSize) {
        Jedis jedis = JedisConnectionFactory.getJedis();


        jedis.close();
        return null;
    }

    @Override
    public List<String> getBlogList(String sex, int start, int showPageSize) {
        Jedis jedis = JedisConnectionFactory.getJedis();


        jedis.close();
        return null;
    }

    @Override
    public void addBlog(long newID, String sex) {
        Jedis jedis = JedisConnectionFactory.getJedis();


        jedis.close();
    }
}
